	<script type="text/javascript">
	function toLogin(){
		parent.location=getContextPath() +"/jsp/userManager/login.jsp";
		return ;
	}

	function importJs(url){
		var conext = getContextPath() ;
		if(url.indexOf("../")==0){
			url = conext + url.substring(2);
		}else if(url.indexOf("/")!=0){
			url = "/"+conext +url;
		}else if(url.indexOf(conext)!=0){
			url = conext +url;
		}
		var ajaxResut = dhtmlxAjax.getSync(url).xmlDoc.responseText;
	    if(window.execScript) { //for IE
	    	window.execScript(ajaxResut);
	    }else{// for FF
	     	eval.call(window, ajaxResut);
	    }			
	}
	
	function getContextPath(){
		var contextPath = document.location.pathname.substr(1);
		contextPath = "/" +contextPath.substr(0,contextPath.indexOf("/"));
		return contextPath;
	}
	</script>